<?php 
session_start();

//if logout then destroy the session and redirect the user
if($_REQUEST['logout']=="yes")
{
	session_destroy();
	header("Location:admin-login.php");
}	

?>